php multidimensional array get all values by key

71

php multidimensional array get all values by key -

$ids = array_column($users, 'id');

Comments

Submit
0 Comments